# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'dialogs/fieldDialog.ui'
#
# Created: Fri May 27 14:55:51 2011
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_FieldDialog(object):
    def setupUi(self, FieldDialog):
        FieldDialog.setObjectName(_fromUtf8("FieldDialog"))
        FieldDialog.setEnabled(True)
        FieldDialog.resize(433, 309)
        self.formLayout = QtGui.QFormLayout(FieldDialog)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.nameLabel = QtGui.QLabel(FieldDialog)
        self.nameLabel.setObjectName(_fromUtf8("nameLabel"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.nameLabel)
        self.name = QtGui.QLineEdit(FieldDialog)
        self.name.setObjectName(_fromUtf8("name"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.name)
        self.propertiesLabel = QtGui.QLabel(FieldDialog)
        self.propertiesLabel.setObjectName(_fromUtf8("propertiesLabel"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.propertiesLabel)
        self.resourcesTable = QtGui.QTableWidget(FieldDialog)
        self.resourcesTable.setColumnCount(2)
        self.resourcesTable.setObjectName(_fromUtf8("resourcesTable"))
        self.resourcesTable.setColumnCount(2)
        self.resourcesTable.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.resourcesTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.resourcesTable.setHorizontalHeaderItem(1, item)
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.resourcesTable)
        self.add = QtGui.QPushButton(FieldDialog)
        self.add.setObjectName(_fromUtf8("add"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.add)
        self.remove = QtGui.QPushButton(FieldDialog)
        self.remove.setEnabled(True)
        self.remove.setCheckable(False)
        self.remove.setObjectName(_fromUtf8("remove"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.remove)
        self.buttonBox = QtGui.QDialogButtonBox(FieldDialog)
        self.buttonBox.setLocale(QtCore.QLocale(QtCore.QLocale.Polish, QtCore.QLocale.Poland))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.buttonBox)
        self.label = QtGui.QLabel(FieldDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label)
        self.capacity = QtGui.QSpinBox(FieldDialog)
        self.capacity.setObjectName(_fromUtf8("capacity"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.capacity)
        self.label_2 = QtGui.QLabel(FieldDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_2)
        self.stackBox = QtGui.QCheckBox(FieldDialog)
        self.stackBox.setObjectName(_fromUtf8("stackBox"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.stackBox)
        self.spinBoxX = QtGui.QSpinBox(FieldDialog)
        self.spinBoxX.setObjectName(_fromUtf8("spinBoxX"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.spinBoxX)
        self.spinBoxY = QtGui.QSpinBox(FieldDialog)
        self.spinBoxY.setObjectName(_fromUtf8("spinBoxY"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.spinBoxY)
        self.actionAddProperty = QtGui.QAction(FieldDialog)
        self.actionAddProperty.setObjectName(_fromUtf8("actionAddProperty"))

        self.retranslateUi(FieldDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), FieldDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FieldDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(FieldDialog)

    def retranslateUi(self, FieldDialog):
        FieldDialog.setWindowTitle(QtGui.QApplication.translate("FieldDialog", "Field", None, QtGui.QApplication.UnicodeUTF8))
        self.nameLabel.setText(QtGui.QApplication.translate("FieldDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.propertiesLabel.setText(QtGui.QApplication.translate("FieldDialog", "Resources", None, QtGui.QApplication.UnicodeUTF8))
        self.resourcesTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("FieldDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.resourcesTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("FieldDialog", "Value", None, QtGui.QApplication.UnicodeUTF8))
        self.add.setText(QtGui.QApplication.translate("FieldDialog", "Add resource", None, QtGui.QApplication.UnicodeUTF8))
        self.remove.setText(QtGui.QApplication.translate("FieldDialog", "Remove resource(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("FieldDialog", "Capacity", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("FieldDialog", "Position", None, QtGui.QApplication.UnicodeUTF8))
        self.stackBox.setText(QtGui.QApplication.translate("FieldDialog", "Stack", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAddProperty.setText(QtGui.QApplication.translate("FieldDialog", "AddProperty", None, QtGui.QApplication.UnicodeUTF8))

